package com.xbongbong.saas.service;

import com.xbongbong.paas.toolbox.exception.XbbException;

import java.util.List;

/**
 * 钉钉回调变更客户
 * @author youli.chen
 * @version v1.0
 * @date 2019/2/19 18:55
 * @since v1.0
 */
public interface EventChangeCustomerService {

    /**
     * 收到员工离职信息后的处理
     * 对应 org_user_leave
     * 将用户del置为1
     * @param accessToken
     * @param corpId
     * @param userIds
     */
    void orgUserLeave(String accessToken, final String corpId, String userIds) throws XbbException;
    
    void orgUserLeave(String corpId, List<String> userIdList) throws XbbException;
}
